package com.peas.platform.module.icims.budget.project.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.BudgetProjectTwoYearRepository;
import com.peas.platform.module.icims.budget.project.adapter.repository.po.BudgetProjectTwoYearPo;
import com.peas.platform.module.icims.budget.project.domain.BudgetProjectTwoYearDomain;
import com.peas.platform.module.icims.budget.project.dto.BudgetProjectTwoYearDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetProjectTwoYearDomainImpl extends BaseDomainImpl<BudgetProjectTwoYearDto, BudgetProjectTwoYearPo> implements BudgetProjectTwoYearDomain {

    @Resource
    private BudgetProjectTwoYearRepository budgetProjectTwoYearRepository;

    @Override
    public BaseRepository<BudgetProjectTwoYearPo> getMapper() {
        return budgetProjectTwoYearRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetProjectTwoYearPo>> getRepositoryClass() {
        return BudgetProjectTwoYearRepository.class;
    }

}
